import request from '@/utils/request.js'

export default {
    list: (params: any) => request.get(`/aries/api/order/list`, {
        params
    }),
    listExport: (params: any) => request.get(`/aries/api/order/listExport`, {
        responseType: 'blob',
        timeout: 30000,
        params
    }),
    orderGoodsList: (params: any) => request.get(`/aries/api/order/orderGoodsList`, {
        params
    }),
    orderSettlementList: (params: any) => request.get(`/aries/api/order/orderSettlementList`, {
        params
    }),
    unionList: (params: any) => request.get(`/aries/api/order/unionList`, {
        params
    }),
    unionListExport: (params: any): Promise<Blob> => request.get(`/aries/api/order/unionListExport`, {
        responseType: "blob",
        timeout: 30000,
        params
    }),
    statisticsByParts: (params: any) => request.get(`/aries/api/order/statisticsByParts`, {
        params
    }),
    statisticsBy12730: (params: any) => request.get(`/aries/api/order/statisticsBy12730`, {
        params
    }),
}
